package com.ws.user.service;

import com.ws.domain.dto.UserDTO;
import com.ws.entity.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by WS on 2018/1/23.
 */
public interface UserService{
    List<User> queryUserList(User user);

    Page<User> queryUserPage(User userDTO, Pageable pageable);

    void insertUser(User user);
}
